<template>
  <el-dialog v-model="visible"></el-dialog>
</template>

<script setup lang="ts">
import { ref } from "vue";

const props = ref<Tool.AcceptParams<any>>();
const visible = ref(false);

const acceptParams = (params: Tool.AcceptParams<any>) => {
  props.value = params;
  visible.value = true;
};
defineExpose({ acceptParams });
</script>

<style></style>
